import {
    post,
    get,
    put,
    dalete,
    postJosn,
    putone,
    patch,
    daleteJson
  } from "../utils/request";
  
  //查询分页
  export function queryPrize(data) {
    return post("/api/promotion-service/v1/promotionTastingWine/qryTastingWine", data);
  }
  //卡券查询
  export function queryGenCoupon(data) {
    return post("/api/promotion-service/v1/coupon/queryGenCoupon", data);
  }
  //新增
  export function addPrize(data) {
    return post("/api/promotion-service/v1/promotionTastingWine/modifyTastingWine", data);
  }
  
  
  //删除（逻辑删除）
  export function deletePrize(data) {
    return dalete("/api/promotion-service/v1/prize/deletePrize?uuid=" + data.uuid);
  }
  
  //修改
  export function updatePrize(data) {
    return post("/api/promotion-service/v1/promotionTastingWine/modifyTastingWine", data);
  }
  
  